package weekend2;
import java.util.Timer;
import java.util.TimerTask;

public class Timers {
    public static void main(String[] args) {
        Timer timers=new Timer();
        timers.schedule(new TimerTask() {
            @Override
            public void run() {
               System.out.println("你认真的说你喜欢白山茶，" +
                       "却怡然自得的收起别的红玫瑰");
            }
        },1000,1000);

    }
}
